import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, BaseEntity } from 'typeorm';


//信贷经理用户表
@Entity('user_account')
export class UserAccount extends BaseEntity {

    @PrimaryGeneratedColumn()
    user_id: number;

    @Column({
        length: 20,
        comment: "手机号"
    })
    mobile: string;

    @CreateDateColumn({
        comment: "创建时间"
    })
    create_time: Date;

    @UpdateDateColumn({
        comment: "更新时间"
    })
    update_time: Date;

}